package com.zsc.wxm.ysh.anjo.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsc.wxm.ysh.anjo.member.model.Member;
import com.zsc.wxm.ysh.anjo.service.base.model.member.dto.MemberInfoDTO;
import com.zsc.wxm.ysh.anjo.service.base.model.member.qo.MemberQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author playmaker
 * @since 2021-01-04
 */
@Repository
public interface MemberMapper extends BaseMapper<Member> {

    /**
     * 根据查询条件查询
     *
     * @param query 查询条件
     * @return list
     */
    List<Member> listByQo(MemberQuery query);

    /**
     * 根据条件更新数据
     *
     * @param params 条件
     */
    @Deprecated
    void updateByCondition(MemberInfoDTO params);

}
